package com.vvv.myapiclientsdk.client;

import com.vvv.myapiclientsdk.model.request.UserRequest;
import com.vvv.myapiclientsdk.model.response.UserResponse;

/**
 * @author vvv
 * @date 2023-09-23 17 17
 * discription
 */
public class VvvClient extends AbstractClient {


    public VvvClient(String accessKey, String secreteKey) {
        super(accessKey, secreteKey);
    }

    /**
     *  restful 方式的POST请求
     * @param userRequest
     * @return
     */
    public UserResponse getUserNameByPost(UserRequest userRequest) {
        // 获取响应
        return doRequest(userRequest, UserResponse.class);
    }

}
